package surname.protocol;

import java.io.Serializable;


/**
 * Abstract request class. All requests must subclass this class.
 * This class is serializable and can be sent through the network.
 *
 * @author Thomas Di'Meco / Laura Martellotto - Gwenn Aubert / Matthieu Maugard - SI4 Groupe 1
 */
public abstract class AbstractRequest implements Serializable
{
    private static final long serialVersionUID = 1L;

    /**
     * @return The class identifier of the request, like <i>class surname.protocol.SubRequestClass</i>
     */
    public String getRequestClass ()
    {
        return this.getClass().toString();
    }
}
